package top.lixunda.ecommerce.server.user.api.entity.dto;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.lixunda.ecommerce.server.business.api.condition.ILambdaQueryWrapperDTO;
import top.lixunda.ecommerce.server.business.api.entity.dto.OrderByDTO;
import top.lixunda.ecommerce.server.user.api.entity.db.PermissionDO;

/**
 * 权限查询DTO
 *
 * @author lixunda
 * @version time:2020/4/24 15:04
 */
@ApiModel("权限查询DTO")
@Data
@EqualsAndHashCode(callSuper = true)
public class PermissionQueryDTO extends OrderByDTO implements ILambdaQueryWrapperDTO<PermissionDO> {

    /**
     * 将当前用于查询的DTO中的查询数据转换为 LambdaQuerySqlWrapper
     *
     * @return 条件构造器 LambdaQuerySqlWrapper
     */
    @Override
    public LambdaQueryWrapper<PermissionDO> toWrapper() {
        return null;
    }
}
